cmake_minimum_required(VERSION 2.8)

PROJECT(example) 

#导入头文件 
include_directories(
include
"/usr/local/include/allegro5/"
)

#指定源文件的目录 
#AUX_SOURCE_DIRECTORY(./src DIR_SRCS) 

#指定依赖库
link_libraries("/usr/local/lib/liballegro.so")
link_libraries("/usr/local/lib/liballegro_image.so")

#制定生成目标
add_executable(../${PROJECT_NAME} ./src/ex_bitmap.c)




